<template>
    <div>index-main
        <div v-if="permissions('sysopt:getTools')">
            权限测试
        </div>
    </div>
</template>
<script>
    import { mapGetters } from 'vuex';
    export default {
        computed: {
            ...mapGetters('permission', ['permissions']),
        },
        created() {}
    }
</script>